home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.swcp.com
/
ftp.swcp.com.zip
/
ftp.swcp.com
/
mac
/
Communications
/
tn3270_2.3d26.hqx
/
tn3270 2.3d26
/
Keyboard Configuration
/
deutsch.kbmap
< prev
next >
Wrap
Text File
|
1991-08-27
|
12KB
|
494 lines
#
# tn3270 keycode mapping definition
#
# General syntax rules:
# Case is ignored except in the name of the key mapping, and in character
# literals, e.g. 'a'.
#
# Blank lines, white space, and any text following "#" on a line is ignored.
#
# The three types of definition lines are the mapping name definition, the
# mapping number definition, and the key mapping definition:
#
# To name this mapping:
# name: {mapping name}
# Underscores in the name are replaced by blanks. Use two consecutive
# underscores to include an underscore in the name.
#
# To assign a resource number for this mapping:
# number: {resource number}
# This number is only used when the resource is written out in "Rez"
# file format.
#
# To map a function to a key sequence:
# function = [modifier] {'literal' | "hexcode" | "Khexcode"}
#
# Function names are listed below. Following each name enclosed in
# parenthesis is the EBCDIC hex code the name maps to.
# Punctuation Marks:
# space (40) cent (4A) period (4B) less (4C)
# lparen (4D) plus (4E) or (4F) ampersand (50)
# exclaim (5A) dollar (5B) asterisk (5C) rparen (5D)
# semi (5E) not (5F) minus (60) slash (61)
# vertical (6A) comma (6B) percent (6C) underscore (6D)
# greater (6E) question (6F) accent (79) colon (7A)
# pound (7B) at (7C) apostrophe (7D) equal (7E)
# dblquote (7F) tilde (A1) lbrack (AD) rbrack (BD)
# lbrace (C0) rbrace (D0)
# Lowercase Letters:
# lca through lci (81 through 89)
# lcj through lcr (91 through 99)
# lcs through lcz (A2 through A9)
# Uppercase Letters:
# a through i (C1 through C9)
# j through r (D1 through D9)
# s through z (E2 through E9)
# Digits:
# 0 through 9 (F0 through F9)
# APL Characters: (hex codes given are preceded by Graphics Escape)
# Note: APL mode must be in effect for these characters to be generated.
# a_ through i_ (41 through 49) (underscored uppercase letters)
# j_ through r_ (51 through 59)
# s_ through z_ (62 through 69)
# i-beam (DA) del-tilde (FB) grade-down (DC)
# grade-up (DD) vert-rotate (CD) transpose (CF)
# hor-rotate (ED) logarithm (FD) nor (CB)
# nand (CA) apl-exclaim (DB) domino (EE)
# quote-quad (DE) delta_ (FC) format (FE)
# execute (EF) lamp (DF) expand (EB)
# compress (EA)
# ALA Characters (for use the built-in ALA font)
# left_tack (2A) pointer (38) paragraph (39)
# single_dagger (3A) double_dagger(3B) polish_l (41)
# slash_o (42) d_crossed (43) thorn (44)
# ae (45) oe (46) hook_o (47)
# hook_u (48) maigkiy_znak (49) lcpolish_l (51)
# lcslash_o (52) lcd_crossed (53) lcthorn (54)
# lcae (55) lcoe (56) lchook_o (57)
# lchook_u (58) tverdyi_znak (59) ayn (62)
# alf (63) middle_dot (64) turkish_i (65)
# flat (66) patent (67) eth (68)
# plus_or_minus (69) sub0 (70) through sub8 (78)
# script_l (80) angstrom (8A) superior_dot (8B)
# umlaut (8C) candrabindu (8D) left_ligature (8E)
# left_d_tilde (8F) sub9 (90) grave (9A)
# acute (9B) ala_circumflex (9C) hacek (9D)
# right_ligature (9E) right_d_tilde (9F) ala_dagger(A0)
# sub_plus (AA) sub_lparen (AB) pincushion (AC)
# sub_minus (AE) sub_rparen (AF)
# sup0 (B0) through sup9 (B9) sup_plus (BA)
# sup_lparen (BB) asper (BC) sup_minus (BE)
# sup_rparen (BF) circle_below (CA) dot_below (CB)
# double_dot_below (CC) breve (CD) ala_tilde (CE)
# pseudo_quest (CF) cedilla (DA) high_comma_ctr (DB)
# right_hook (DC) upadhmaniya (DD) macron (DE)
# double_acute (DF) british_pound (E2) right_cedilla (EA)
# high_comma (EB) left_hook (EC) ala_underscore (ED)
# double_underscore (EE) ala_alpha (FA) ala_beta (FB)
# ala_gamma (FC) yen (FD) peso (FE)
# Attention Keys: (hex codes are the AID codes transmitted)
# pf1 through pf9 (F1 through F9)
# pf10 through pf12 (7A through 7C)
# pf13 through pf21 (C1 through C9)
# pf22 through pf24 (4A through 4C)
# enter (7D) pa1 (6C) pa2 (6E) pa3 (6B)
# clear (6D) treq (F0) cursel (7E)
# Cursor Movement:
# up down left right tab
# backtab newline home up*2 down*2
# left*2 right*2
# Editing:
# erase-eof erase-input delete-char insert-char
# dup field-mark rub-out
# Program Control:
# insert-mode (toggle insert mode)
# apl-mode (toggle keyboard APL mode)
# cursor-pos (toggle cursor position display)
# reset (unlock keyboard)
# prog-reset (reset program; resets above modes and I/O)
#
# Modifier is: normal, shift, command, command-shift, or option.
# If the user presses more than one modifier key, the precedence of the
# modifiers is: command-shift, command, option, and shift. It is not
# possible to specify mapping for other combinations, such as command-option.
# For ASCII key mappings, when "modifier" is omitted, the mapping applies
# to both "normal" and "shift". For keycode mappings, the default modifier
# is "normal", i.e. no modifiers.
#
# 'literal' specifies a mapping to the ASCII code defined by the character
# literal.
#
# "hexcode" specifies a mapping to the ASCII code given in hex. It must
# consist of exactly two hex digits.
#
# "Khexcode" specifies a keycode mapping to the code given in hex. It must
# consist of exactly two hex digits.
# If a keycode mapping is defined for a key, it takes precedence over an
# ASCII code mapping for it.
# Keycode mapping use the raw key codes provided by the Macintosh operating
# system for a key press event. They are hardware dependent, and should only
# be used when keys which must be distinguished return the same ASCII codes.
# For keycode values see "The Toolbox Event Manager" chapter in volumes 1 and
# 5 of "Inside Macintosh".
#
# tn3270 Austrian/German mapping
#
# The following table shows how the code point assignments are changed for
# Austrian/German vs. U.S. English:
#
#
# EBCDIC 4A 4F 5A 5B 5F 6A 79 7B 7C 7F A1 C0 D0 E0
# U.S. English ó | ! $ ┬ ** ` # @ " ~ { } \
# Austrian/German Ç ! å $ ^ Ü ` # ñ " º è ƒ à
#
# ** - X'6A' in English is a broken vertical line
#
# The U.S. English characters are used to define the names for the code points.
#
name: Deutsch
number: 130
# charcter mappings
space = "20" # spaces are ignored in literals too
cent = 'Ç'
period = '.'
less = '<'
lparen = '('
plus = '+'
or = '!'
ampersand = '&'
exclaim = 'å'
dollar = '$'
asterisk = '*'
rparen = ')'
semi = ';'
not = '^'
minus = '-'
slash = '/'
vertical = 'Ü'
comma = ','
percent = '%'
underscore = '_'
greater = '>'
question = '?'
accent = '`'
colon = ':'
pound = "23" # can't use comment delimiter in a literal!
at = 'ñ'
apostrophe = '½'
equal = '='
dblquote = '"'
lca = 'a'
lcb = 'b'
lcc = 'c'
lcd = 'd'
lce = 'e'
lcf = 'f'
lcg = 'g'
lch = 'h'
lci = 'i'
lcj = 'j'
lck = 'k'
lcl = 'l'
lcm = 'm'
lcn = 'n'
lco = 'o'
lcp = 'p'
lcq = 'q'
lcr = 'r'
lcs = 's'
lct = 't'
lcu = 'u'
lcv = 'v'
lcw = 'w'
lcx = 'x'
lcy = 'y'
lcz = 'z'
tilde = 'º'
lbrack = option '['
rbrack = option ']'
lbrace = 'è'
rbrace = 'ƒ'
a = 'A'
b = 'B'
c = 'C'
d = 'D'
e = 'E'
f = 'F'
g = 'G'
h = 'H'
i = 'I'
j = 'J'
k = 'K'
l = 'L'
m = 'M'
n = 'N'
o = 'O'
p = 'P'
q = 'Q'
r = 'R'
s = 'S'
t = 'T'
u = 'U'
v = 'V'
w = 'W'
x = 'X'
y = 'Y'
z = 'Z'
backslash = 'à'
0 = '0'
1 = '1'
2 = '2'
3 = '3'
4 = '4'
5 = '5'
6 = '6'
7 = '7'
8 = '8'
9 = '9'
a_ = option "K00"
b_ = option "K0b"
c_ = option "K08"
d_ = option "K02"
e_ = option "K0e"
f_ = option "K03"
g_ = option "K05"
h_ = option "K04"
i_ = option "K22"
j_ = option "K26"
k_ = option "K28"
l_ = option "K25"
m_ = option "K2e"
n_ = option "K2d"
o_ = option "K1f"
p_ = option "K23"
q_ = option "K0c"
r_ = option "K0f"
s_ = option "K01"
t_ = option "K11"
u_ = option "K20"
v_ = option "K09"
w_ = option "K0d"
x_ = option "K07"
y_ = option "K10"
z_ = option "K06"
i-beam = option "K12"
del-tilde = option "K13"
grade-down = option "K14"
grade-up = option "K15"
# The next two lines conflict with [ and ]:
# vert-rotate = option "K17"
# transpose = option "K16"
hor-rotate = option "K1a"
logarithm = option "K1c"
nor = option "K19"
nand = option "K1d"
apl-exclaim = option "K1b"
domino = option "K18"
quote-quad = option "K1e"
delta_ = option "K2a"
format = option "K29"
execute = option "K27"
lamp = option "K2b"
expand = option "K2f"
compress = option "K2c"
# function mappings
enter = normal "0d"
pf1 = command '1'
pf1 = "K53" # keypad 1
pf1 = "K7a" # F1
pf1 = "K72" # help
pf2 = command '2'
pf2 = "K54" # keypad 2
pf2 = "K78" # F2
pf3 = command '3'
pf3 = "K55" # keypad 3
pf3 = "K63" # F3
pf3 = "K77" # end
pf4 = command '4'
pf4 = "K56" # keypad 4
pf4 = "K76" # F4
pf5 = command '5'
pf5 = "K57" # keypad 5
pf5 = "K60" # F5
pf6 = command '6'
pf6 = "K58" # keypad 6
pf6 = "K61" # F6
pf7 = command '7'
pf7 = "K59" # keypad 7
pf7 = "K62" # F7
pf7 = "K74" # page up
pf8 = command '8'
pf8 = "K5b" # keypad 8
pf8 = "K64" # F8
pf8 = "K79" # page down
pf9 = command '9'
pf9 = "K5c" # keypad 9
pf9 = "K65" # F9
pf10 = command '0'
pf10 = "K52" # keypad 0
pf10 = "K6d" # F10
pf11 = command 'º'
pf11 = "K41" # keypad .
pf11 = "K67" # F11
pf12 = command '½'
pf12 = "K4c" # keypad enter
pf12 = "K6f" # F12
pf13 = command-shift '1'
pf13 = shift "K53" # keypad 1
pf13 = "K69" # F13
pf13 = shift "K7a" # F1
pf14 = command-shift '2'
pf14 = shift "K54" # keypad 2
pf14 = "K6b" # F14
pf14 = shift "K78" # F2
pf15 = command-shift '3'
pf15 = shift "K55" # keypad 3
pf15 = "K71" # F15
pf15 = shift "K63" # F3
pf16 = command-shift '4'
pf16 = shift "K56" # keypad 4
pf16 = shift "K76" # F4
pf17 = command-shift '5'
pf17 = shift "K57" # keypad 5
pf17 = shift "K60" # F5
pf18 = command-shift '6'
pf18 = shift "K58" # keypad 6
pf18 = shift "K61" # F6
pf19 = command-shift '7'
pf19 = shift "K59" # keypad 7
pf19 = shift "K62" # F7
pf20 = command-shift '8'
pf20 = shift "K5b" # keypad 8
pf20 = shift "K64" # F8
pf21 = command-shift '9'
pf21 = shift "K5c" # keypad 9
pf21 = shift "K65" # F9
pf22 = command-shift '0'
pf22 = shift "K52" # keypad 0
pf22 = shift "K6d" # F10
pf23 = command-shift 'º'
pf23 = shift "K41" # keypad .
pf23 = shift "K67" # F11
pf24 = command-shift '½'
pf24 = shift "K4c" # keypad enter
pf24 = shift "K6f" # F12
pa1 = command ','
pa1 = "K51" # keypad = (ADB keypad)
pa1 = shift "K48" # keypad , (numeric/Plus keypad)
pa2 = command '.'
pa2 = "K4b" # keypad / (ADB keypad)
pa2 = shift "K4d" # keypad / (numeric/Plus keypad)
pa3 = command '-'
pa3 = command "03" # enter
clear = command 'c'
clear = "1b" # keypad clear
treq = command '/'
treq = "K43" # keypad * (ADB keypad)
treq = shift "K42" # keypad * (numeric/Plus keypad)
cursel = command 'l'
up = command 'u'
up = "1e" # up arrow code
down = command 'm'
down = command 'n'
down = "1f" # down arrow code
left = command 'h'
left = "1c" # left arrow code
left = normal "08" # backspace/delete code
right = command 'j'
right = command 'k'
right = "1d" # right arrow code
tab = normal "09" # tab key
backtab = shift "09"
newline = "03" # enter key
newline = shift "0d" # return key
home = command "0d" # return key
home = "K73" # home key
erase-eof = command 'e'
erase-eof = "K4e" # keypad -
erase-input = command-shift 'e'
erase-input = shift "K4e" # keypad -
insert-mode = command 'i'
insert-mode = "K45" # keypad + (ADB keypad)
insert-mode = shift "K46" # keypad + (numeric/Plus keypad)
delete-char = shift "08" # backspace/delete key
delete-char = "K75" # X (Del) key
reset = command 'r'
dup = command 'd'
field-mark = command 'f'
apl-mode = command 'a'
insert-char = option "08" # backspace/delete key
rub-out = command "08" # backspace/delete key
up*2 = command-shift 'u'
up*2 = option "1e" # up arrow code
down*2 = command-shift 'm'
down*2 = command-shift 'n'
down*2 = option "1f" # down arrow code
left*2 = command-shift 'h'
left*2 = option "1c" # left arrow code
right*2 = command-shift 'j'
right*2 = command-shift 'k'
right*2 = option "1d" # right arrow code
cursor-pos = command 'p'
prog-reset = command 'g'